const http = uni.$u.http
// 注册
export const postreg = (params) => http.post('/user/reg', params)
//获取验证码
export const sendSms = (params) => http.post('/user/sendSms', params)
// 登录
export const login = (params) => http.post('/user/login', params)
//忘记密码
export const forget = (params) => http.post('/user/forget', params)
//验证码登录
export const codelogin = (params) => http.post('/user/code_login', params)

